<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>会员</title>
<link href="{LAYUI_PATH}css/layui.css" rel="stylesheet" type="text/css" />
<link href="{LAYUI_PATH}css/member.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{LAYUI_PATH}layui.js"></script>
</head>
<body>
<ul class="layui-user-status">
	{if $_username}
	<li class="layui-nav-item">
	  <a href="{APP_PATH}index.php?m=member&siteid={$siteid}" target="_blank">
	  	<img src="{$_avatar}" />
	  	<cite class="layui-username">{$_username}</cite>
	  </a>
	</li>
	<li class="layui-nav-item"><a href="{APP_PATH}index.php?m=member&c=index&a=logout&forward={urlencode($_GET['forward'])}&siteid={$siteid}" target="_top">退出</a></li>
	{else}
	<li class="layui-nav-item"><a class="layui-icon" href="{APP_PATH}index.php?m=member&c=index&a=login&forward={urlencode($_GET['forward'])}&siteid={$siteid}" target="_top">&#xe612;</a></li>
	<li class="layui-nav-item"><a href="{APP_PATH}index.php?m=member&c=index&a=login&forward={urlencode($_GET['forward'])}&siteid={$siteid}" target="_top">登录</a></li>
	<li class="layui-nav-item"><a href="{APP_PATH}index.php?m=member&c=index&a=register&siteid={$siteid}" target="_top">注册</a></li>
	{/if}
</ul>
</body>
</html>